package cn.toys.modular.mapper;

import cn.toys.modular.entity.CityArea;
import cn.toys.modular.entity.CityAreaExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CityAreaMapper {
    long countByExample(CityAreaExample example);

    int deleteByExample(CityAreaExample example);

    int insert(CityArea record);

    int insertSelective(CityArea record);

    List<CityArea> selectByExampleSelective(@Param("example") CityAreaExample example, @Param("selective") CityArea.Column ... selective);

    CityArea selectOneByExample(CityAreaExample example);

    CityArea selectOneByExampleSelective(@Param("example") CityAreaExample example, @Param("selective") CityArea.Column ... selective);

    List<CityArea> selectByExample(CityAreaExample example);

    int updateByExampleSelective(@Param("record") CityArea record, @Param("example") CityAreaExample example);

    int updateByExample(@Param("record") CityArea record, @Param("example") CityAreaExample example);
}